#ifndef MIXERBUTTON_H
#define MIXERBUTTON_H

#include "adaptivewidgets.h"
#include "offspinbox.h"
#include "multiwidget.h"

class MixerButton : public MultiWidget
{
    Q_OBJECT
public:
    explicit MixerButton(const uint8_t out, const uint8_t mus, QWidget *parent = nullptr);

signals:
    void stateChanged(uint8_t out, uint8_t mus, uint8_t vol);
public slots:
    void set(uint8_t vol);
private:
    const uint8_t m_out;
    const uint8_t m_mus;
    // OffSpinBox *spinBox;
};

#endif // MIXERBUTTON_H
